package com.mt.roll.wms.service;

import com.mt.roll.core.params.IdListParam;
import com.mt.roll.core.params.IdParam;
import com.mt.roll.core.vo.IdListVo;
import com.mt.roll.core.vo.IdVo;
import com.mt.roll.core.vo.PageVo;
import com.mt.roll.core.vo.R;
import com.mt.roll.wms.params.*;
import com.mt.roll.wms.vo.*;

import java.util.List;

/**
 * @auther yanyang
 * @date 2022/2/25 9:54
 */

public interface ProcessLocationService {

    R<PageVo<ProcessLocationVo>> page(ProcessLocationQueryParam processLocationQueryParam);

    R<ProcessLocationVo> getById(IdParam idParam);

    R<IdVo> add(ProcessLocationParam processLocationParam);

    R<IdVo> update(ProcessLocationParam processLocationParam);

    R<IdVo> delete(IdParam idParam);


    R<List<WorkSequenceVo>> workSequenList();

    R<List<LocationListVo>> locationList();

    R<List<SysDictDataVo>> portAttrList();

    //R<IdListVo> processlocation (ProcessLocationListParam processLocationListParam);
    R<IdVo> processlocation (ProcessLocationListParam processLocationListParam);

    R<PageVo<AreaLocationVo>> locationByProcess(ProcessQueryParam processQueryParam);


}